<div class="page table-section none" data-page="loanNoticeList" id="loanNoticeList">
	<p class="table-head">
		<label class="table-title">
			当前位置:放款单查询
		</label>
	</p>
	<p class="table-search">
		<label for="" class="publishTime">放款时间：</label>
		<input class="field-input Wdate FromTime" type="text" id="beginDate"  onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true,maxDate:'#F{$dp.$D(\'endDate\',{d:0})}'})" /> --
		<input class="field-input Wdate ToTime" type="text" id="endDate"  onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true,minDate:'#F{$dp.$D(\'beginDate\',{d:1})}'})" />
		<label class="financingGoods">融资编号：</label>
		<input class="input-financingGoods field-input" id="financeNumber" type="text" placeholder="请输入融资编号" />
		<label class="financingGoods">融资客户：</label>
		<input class="input-financingGoods field-input" id="enterpriseName" type="text" placeholder="请输入融资客户" />
		<br/>
		<br/>
		<label class="financingGoods">融资货物：</label>
		<input class="input-financingGoods field-input" id="bulkstockName" type="text" placeholder="请输入融资货物" />
 		<label class="financingGoods">业务类型：</label>  
			<select name="productType">
				<option value="0">全部</option>
				<option value="1">舱单代采</option>
				<option value="2">舱单质押</option>
				<option value="3">仓储质押</option>
				<option value="4">保理融资</option>
				<option value="5">代理采购</option>
				<option value="6">代理销售</option>
			</select>
		<button class="table-search-button" id="loanNoticeSearch">查询</button>
	</p>
	<p>
		<table class="table" border="0" cellspacing="0" cellpadding="0">
			<tr class="table_title">
				<th style="width:3%;">No</th>
				<th style="width:13%;">融资编号</th>
				<th style="width:8%;">合同序列号</th>
				<!-- <th style="width:7%;">当前审批节点</th> -->
				<th style="width:7%;">业务类型</th>
				<th style="width:8%;">融资货物</th>
				<th style="width:10%;">融资方</th>
				<th style="width:10%;">收款方</th>
				<th style="width:10%;">放款申请时间</th>
				<th style="width:7%;">申请人</th>
				<th style="width:9%;">申请金额</th>
				<th style="width:7%;">状态</th>
				<th style="width:10%;">操作</th>
			</tr>
			<tbody id="noticeListBody"></tbody>
			<script type="text/template" id="bulkstockInventoryTpl">
				{@each datas as it,index}
				<tr class="tr_style table-data" loanNoticeId="${it.loanNoticeId}" loanAuditCreateTime="${it.loanAuditCreateTime}">
					<td>${index*1+1}</td>
					<td>${it.financeNumber}<span class="callback">${getValueByKey(71, it.callback)}</span></td>
					<td>${it.financeContractSerialNumber}</td>
				<!--	<td>${getValueByKey(83, it.finalState)}</td> -->
					<td>${getValueByKey(7, it.productType)}</td>
					<td>
						${it.bulkstockName}
					</td>
					<td>
						{@if it.productType == 5}
							${it.beneficiaryName}
						{@else}
							${it.enterpriseName}
						{@/if}
					</td>
					<td>
						{@if it.productType == 5 || it.productType == 2}
							${it.enterpriseName}
						{@else}
							${it.beneficiaryName}
						{@/if}
					</td>
					<td>${it.applyDate}</td>
					<td>${it.applicant}</td>
					<td>&#65509;${formatCurrency(it.loanAmount)}</td>
					<td>${getValueByKey(42, it.loanState)}<br />${it.finalStateView}</td>
						<td><a href="javascript:void(0)" class="detail">详情</a>
							{@if it.loanState==1}
							&nbsp; | &nbsp;<a href="javascript:void(0)" class="approve">审核</a>
							{@else}
							{@/if}
							{@if it.callback == true}
								<a class="close">关闭</a>
							{@/if}
						</td>
				</tr>
				{@/each}
			</script>
		</table>
		<div class="pagerCon"></div>
	</p>
</div>
